home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / flip1exe.zip / MAKEFILE.MSC < prev    next >
Text File  |  1989-07-27  |  699b  |  31 lines

  1. # Following makefile thanks to Tom Horsley <tom@ssd.harris.com>.
  2. #
  3. # Makefile for flip for MS-DOS and Microsoft C 5.1.  You will need a
  4. # proper version of make (like the nmake program Microsoft shipped
  5. # (far too late) with QuickC 2.0).
  6.  
  7. CC = cl
  8. CFLAGS = -c -DMSC51 -DLINT -DNDEBUG
  9. CFMORE =
  10. LD = cl
  11. LDFLAGS = -F 8000
  12. LDMORE =
  13. PACK = exepack
  14.  
  15. OBJS = flip.obj getopt.obj turboc.obj
  16.  
  17. flip.exe: $(OBJS)
  18.     $(LD) $(LDFLAGS) -Fetemp.exe $(OBJS)
  19.     $(PACK) temp.exe flip.exe
  20.     DEL temp.exe
  21.  
  22. flip.obj: flip.c flip.h
  23.     $(CC) $(CFLAGS) $(CFMORE) flip.c
  24.  
  25. getopt.obj: getopt.c flip.h
  26.     $(CC) $(CFLAGS) $(CFMORE) getopt.c
  27.  
  28. turboc.obj: turboc.c flip.h
  29.     $(CC) $(CFLAGS) $(CFMORE) turboc.c
  30.  
  31.